#pragma once

#include "EventHandlersID.h"

class TextEventHandler : public PaintEventHandler
{
public:
	BEGIN_DEFINE_CLASS(CLSID_TextEventHandler)
		USE_INTERFACE_ENTRY(PaintEventHandler)
		END_DEFINE_CLASS()

	TextEventHandler();
	virtual ~TextEventHandler();

protected:
	virtual Tracker* BeginTrack();
	virtual bool EndTrack(SystemEventArgs* e,const Point& begin,const Point& end);
};

AUTO_REGISTER_CLASSMAP_ENTRY(TextEventHandler)